<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ request.getContextPath() + "/";
%>

<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户登录</title>
</head>
<body>
	<form action="admin.do?action=login" method="post">
		<h1>管理员登录</h1>
		账号：<input type="text" name="username" placeholder="请输入账号"><br>
		密码：<input type="password" name="password" placeholder="请输入密码"><br>
		<input type="submit" value="登录">
<div style="color: red">${error }</div>
	</form>
</body>
</html>